package com.lingsui.mode.strategy;

/**
 * User: caoping
 * Date: 2018/9/2 上午9:52
 */
public class ModelDuck extends Duck {

    public void display() {
        System.out.println("I'm a ModelDuck");
    }

    public ModelDuck() {

        flyBehavior = new FlyNoWay();
        quackBehavior = new MuteQuack();
    }
}
